<h:form xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
	id="testColor" styleClass="test" style="color: red;">
  <h:selectOneMenu id='color' value='0'>
     <f:selectItem itemLabel="red" itemValue="0"/>
     <f:selectItem itemLabel="blue" itemValue="1"/>
     <f:selectItem itemLabel="green" itemValue="2"/>
  </h:selectOneMenu>
</h:form>